package com.doxiaopu.students.user.vo;

import com.doxiaopu.students.component.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description= "商家店铺信息")
public class MerchantVO extends BaseEntity {
    private static final long serialVersionUID = -2574236750025243221L;
    @ApiModelProperty(value = "商家店名")
    private String storeName;  //商家店名
    @ApiModelProperty(value = "商家地址")
    private String storeAddress;  //商家地址
    @ApiModelProperty(value = "商家联系电话")
    private String phone;     //商家联系电话
    private String tUserId; //用户id外键
    @ApiModelProperty(value = "商家信息id")
    private Integer id; //商家信息id
    @ApiModelProperty(value = "账户名")
    private String username;    //账户名
    private String password;    //密码

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String gettUserId() {
        return tUserId;
    }

    public void settUserId(String tUserId) {
        this.tUserId = tUserId;
    }

    @Override
    public String toString() {
        return "MerchantVO{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", storeName='" + storeName + '\'' +
                ", storeAddress='" + storeAddress + '\'' +
                ", phone='" + phone + '\'' +
                ", tUserId='" + tUserId + '\'' +
                '}';
    }
}
